<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">表单布局</label>

    <div class="col-sm-4">
        <label class="radio-inline i-checks">
            <input type="radio" name="set[layout]" value="2" checked/> 双列
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[layout]" value="1"/> 单列
        </label>
    </div>
    <label class="col-sm-2 control-label Validform_label">表单长度</label>

    <div class="col-sm-4">
        <input type="text" class="form-control" placeholder="请输入表单长度"
               name="set[size]" value="4"/>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">选项类型</label>

    <div class="col-sm-4">
        <label class="radio-inline i-checks">
            <input type="radio" name="set[form_type]" value="radio" checked/> 单选按钮
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[form_type]" value="checkbox"/> 复选框
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[form_type]" value="select"/> 下拉框
        </label>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">字段类型</label>

    <div class="col-sm-10">
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="varchar" checked="checked" 　/>
            varchar
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="smallint"/> smallint
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="int"/> int
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="mediumint"/> mediumint
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="decimal"/> decimal
        </label>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">选项</label>

    <div class="col-sm-10">
                        <textarea name="set[options]" class="form-control" rows="3" datatype="*"
                                  placeholder="例：0|不祥,1|男,2|女"></textarea>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">表字段长度</label>

    <div class="col-sm-4">
        <input type="text" class="form-control" placeholder="选择varchar时为字段长度，其他数字类型为位数"
               name="set[length]" value="" datatype="n"/>
    </div>
    <label class="col-sm-2 control-label Validform_label">默认值</label>

    <div class="col-sm-4">
        <input type="text" name="set[default]" class="form-control" value=""/>
    </div>
</div>
<script>iCheck();</script>